import request from '../utils/request';
import { USER_HOST } from '../utils/setting';

export async function query() {
  return request('/api/users');
}

export async function queryCurrent() {
  return request(`${USER_HOST}/sys/user/info`);
}
